-- card: 3930 from stack: in -- bmap block id: 0 -- flags: 0000 -- background id: 2721 -- name: EnableMenu -- part contents for background part 20 ----- text ----- 5 -- part contents for background part 1 ----- text ----- XCMD -- part contents for background part 22 ----- text ----- EnableMenu menuNumber, itemNumber, TRUE/FALSE -- part contents for background part 13 ----- text ----- EnableMenu is an XCMD that lets you enable and disable items in menus you've created using the NewMenu XFCN. Examples: EnableMenu myMenu, 1, FALSE EnableMenu myMenu, 3, (the userLevel>2) The first example will always disable the first menu item in the menu "myMenu". The second example will disable the third item in "myMenu" IF the userLevel is greater than 2. Passing an item number of 0 (zero) will enable or disable the ENTIRE menu. The menu number you provide to to EnableMenu should be the same number that was returned by NewMenu.